package com.yupi.yupicturebackend.model.dto.user;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;
import com.yupi.yupicturebackend.common.PageRequest;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 用户查询请求
 *
 */
@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserQueryRequest extends PageRequest implements Serializable {
    /**
     * id
     */
    private Long id;

    /**
     * 用户昵称
     */
    private String userName;

    /**
     * 账号
     */
    private String userAccount;

    /**
     * 简介
     */
    private String userProfile;

    /**
     * 用户角色 User/Admin/ban
     */
    private String userRole;

     private static final long serialVersionUID = 1L;
}
